﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <link rel="shortcut icon" href="/cwp/favicon.ico" type="image/x-icon"/>
    <title>首航节能-智慧园区</title>
    <!--引入CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/list.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/table.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/paging.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/tabs.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/btn.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/taqs.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/form.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/userManagement/userManagement.css"/>
    <!--表单验证样式-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/formValidator/style/validator.css"/>
    <!--树形节点样式-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/zTree/css/zTreeStyle/zTreeStyle.css"/>
</head>
<body>

<!--头部文件 开始-->
<div id="header"></div>
<!--头部文件 结束-->


<div class="wrapper">
    <!--左侧菜单 开始-->
    <div id="left-menu"></div>
    <!--左侧菜单 结束-->

    <!--右侧内容 开始-->
    <div class="right-container">
        <div class="right-scroll">
            <div class="t-list">
                <div class="t-list-title">
                    <h2>用户管理 > 用户管理<span class=""></span></h2>
                </div>

                <div class="t-tabs">
                    <!--供应商管理选项卡-->
                    <ul id="myTabs" class="t-tabs-items">
                        <li class="active"><a href="#tab1" class="isSelect" data-toggle="tab" id="0">内部用户</a></li>
                        <li><a href="#tab2" data-toggle="tab" class="isSelect" id="1">外部用户</a></li>
                    </ul>
                    <div id="myTabContent" class="tab-content" style="padding: 0">
                        <!--设备供应商列表-->
                        <div class="tab-pane fade in active" id="tab1">
                            <div class="t-layout-ra clearfix">
                                <div class="ra-left">
                                    <from id="deptTree">
                                        <ul id="treeOrg" class="ztree fl"></ul>
                                    </from>
                                </div>

                                <div class="ra-right">
                                    <div class="ra-rightinner">
                                        <div class="t-list-search t-columns-4">
                                            <form id="frmSearch" onsubmit="return false">
                                                <input id="hidDeptId" type="hidden" value="" name="deptId"/>
                                                <ul class="t-columns-group">
                                                    <li>
                                                        <label>角色</label>
                                                        <div>
                                                            <select id="cmbRoleId" name="roleId" class="roleList">
                                                                <option value="" selected>--请选择--</option>
                                                            </select>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <label>查询类型</label>
                                                        <div>
                                                            <select id="searchType" name="searchType">
                                                                <option value="" selected>--请选择--</option>
                                                                <option value="1">姓名</option>
                                                                <option value="2">员工编号</option>
                                                                <option value="3">一卡通编号</option>
                                                                <option value="4">身份证号码</option>
                                                                <option value="5">员工手机号</option>
                                                            </select>
                                                        </div>
                                                    </li>
                                                    <li>
                                                        <label>关键字</label>
                                                        <div><input id="searchContent" name="searchContent" type="text"
                                                                    value="" placeholder="请输入关键字"/></div>
                                                    </li>
                                                    <!-- 时间组 -->
                                                    <li>
                                                        <label>&nbsp;</label>
                                                        <div>
                                                            <a class="t-btn btnSearch">
                                                                <i class="icon-search"></i>
                                                                查询
                                                            </a>
                                                        </div>
                                                    </li>
                                                </ul>
                                            </form>
                                        </div>

                                        <div class="t-list-btns">
                                            <p>请求记录</p>
                                            <span id="tabUserTotal"></span>
                                            <div>
                                                <!-- <a class="t-btn t-btn-blue btnAccessControl"
                                                   id="btnAccessControl">门禁权限</a> -->
                                                <a class="t-btn t-btn-blue btnVideoControl"
                                                   id="btnVideoControl">视频权限</a>
                                                <a class="t-btn t-btn-blue" id="btnModifyDept">修改部门</a>
                                                <a class="t-btn t-btn-blue" id="btnAddUser" add-type="0">新增</a>
                                                <a href="userManagementImport.html?menuId=4.0" class="t-btn t-btn-blue"
                                                   id="btnImportUser">用户导入</a>
                                                <!-- <a href="authManagementImport.html?menuId=4.0&isChinamobile=0" class="t-btn t-btn-blue"
                                                   id="btnImportAuth">权限批量导入</a> -->
                                            </div>
                                        </div>


                                        <div class="t-list-result clearfix ">
                                            <!-- 表格 -->
                                            <table class="t-table fl" id="tabUser"></table>
                                            <!-- 分页 -->
                                            <div class="pagination" id="tabUserPagination" style="float: right;"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="tab2">
                            <div class="t-list-search t-columns-4">
                                <form id="frmSearch1" onsubmit="return false">
                                    <ul class="t-columns-group">
                                        <li>
                                            <label>角色</label>
                                            <div>
                                                <select type="text" id="cmbRoleIdService" class="roleList"
                                                        name="roleId">
                                                    <option value="" selected>--请选择--</option>
                                                </select>
                                            </div>
                                        </li>
                                        <li>
                                            <label>服务公司</label>
                                            <div>
                                                <select type="text" id="company" name="companyId">

                                                </select>
                                            </div>
                                        </li>
                                        <!--<li>-->
                                        <!--<label>关键字</label>-->
                                        <!--<div><input id="keyword2" type="text" value="" name="trueName" placeholder="请输入姓名"/></div>-->
                                        <!--</li>-->
                                        <li>
                                            <label>查询类型</label>
                                            <div>
                                                <select id="searchTypeExt" name="searchType">
                                                    <option value="">--请选择--</option>
                                                    <option value="1">姓名</option>
                                                    <option value="3">一卡通编号</option>
                                                    <option value="4">身份证号码</option>
                                                    <option value="5">员工手机号</option>
                                                </select>
                                            </div>
                                        </li>
                                        <li>
                                            <label>关键字</label>
                                            <div><input id="searchContentExt" name="searchContent" type="text" value=""
                                                        placeholder="请输入关键字"/></div>
                                        </li>
                                        <!-- 时间组 -->
                                        <li>
                                            <label>&nbsp;</label>
                                            <div>
                                                <a class="t-btn  btnSearch">
                                                    <i class="icon-search"></i>
                                                    查询
                                                </a>
                                            </div>
                                        </li>
                                    </ul>
                                </form>
                            </div>

                            <div class="t-list-btns">
                                <p>请求记录</p>
                                <span id="tabUserServiceTotal"></span>
                                <div>
                                    <!-- <a class="t-btn t-btn-blue btnAccessControl" id="tabBtnAccessControl">门禁权限</a> -->
                                    <a class="t-btn t-btn-blue btnVideoControl" id="tabBtnVideoControl">视频权限</a>
                                    <a class="t-btn t-btn-blue" id="btnAddUserService" add-type="1">新增</a>
                                    <a href="userManagementImport.html?menuId=4.0" class="t-btn t-btn-blue"
                                       id="btnImportUserService">用户导入</a>
                                    <!-- <a href="authManagementImport.html?menuId=4.0&isChinamobile=1" class="t-btn t-btn-blue"
                                       id="btnImportAuthService">权限批量导入</a> -->
                                </div>
                            </div>

                            <div class="t-list-result clearfix">
                                <!-- 表格 -->
                                <table class="t-table" id="tabUserService"></table>
                                <!-- 分页 -->
                                <div class="pagination" id="tabUserServicePagination"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--版权-->
<div id="copyright"></div>

<form id="frm"></form>

<!--编辑页面-->

<!--模态框-->
<!--新增、编辑用户模态框-->
<div class="modal fade bs-example-modal-lg" id="modalAddUser" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="exampleModalLabel">新增内部用户</h4>
            </div>
            <form id="frmMain">
                <div class="modal-body">
                    <div class="">
                        <!--基础信息-->
                        <div class="t-list-btns">
                            <p>基本信息</p>
                        </div>
                        <div class="person-setting first">
                            <input type="hidden" id="addRole" value=""/>
                            <div class="t-columns-2">
                                <ul class="t-columns-group">
                                    <li>
                                        <label>
                                            <span class="t-tip-verification">*</span>姓名</label>
                                        <div>
                                            <input type="text" name="trueName" id="trueName">
                                        </div>
                                    </li>
                                    <li>
                                        <label>
                                            <span class="t-tip-verification">*</span>手机</label>
                                        <div>
                                            <input type="text" name="phone" id="phone" maxlength="11" value=""/>
                                        </div>
                                        <input type="hidden" id="oldPhone" maxlength="11" value=""/>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="trueNameTip"></div>
                                        </div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="phoneTip"></div>
                                        </div>
                                    </li>

                                    <li>
                                        <label>性别</label>
                                        <div>
                                            <label style="padding-right:3px;">
                                                <input class="t-form-check" type="radio" name="sex" checked value="0"
                                                       id="boy">男
                                            </label>
                                            <label>
                                                <input class="t-form-check" type="radio" name="sex" value="1" id="girl">女
                                            </label>
                                        </div>
                                    </li>
                                    <li>
                                        <!-- 必填项为label追加样式: necessary -->
                                        <label>邮箱</label>
                                        <div>
                                            <input type="text" name="email" id="email">
                                        </div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div></div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="emailTip"></div>
                                        </div>
                                    </li>

                                    <li>
                                        <!-- 必填项为label追加样式: necessary -->
                                        <label class="necessary">一卡通编号</label>
                                        <div>
                                            <input type="text" name="cardNo" id="cardNo" maxlength="20"/>
                                        </div>
                                        <input type="hidden" id="oldCardNo" maxlength="20"/>
                                    </li>
                                    <li>
                                        <!-- 必填项为label追加样式: necessary -->
                                        <label class="necessary">身份证号</label>
                                        <div>
                                            <input type="text" name="identityCard" id="identityCard" maxlength="18"/>
                                        </div>
                                        <input type="hidden" id="oldIdentityCard" value=""/>
                                        <input type="hidden" id="oldicDES" value=""/>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="cardNoTip"></div>
                                        </div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="identityCardTip"></div>
                                        </div>
                                    </li>

                                    <li>
                                        <label>用户类型</label>
                                        <div>
                                            <select id="userType" name="userType">
                                                <option value="0">内部用户</option>
                                                <option value="1">外部用户</option>
                                            </select>
                                        </div>
                                    </li>
                                    <li class="outsidePart">
                                        <label id="departService">
                                            <span class="t-tip-verification">*</span>服务公司</label>
                                        <div>
                                            <select name="companyId" id="companyId">
                                            </select>
                                        </div>
                                    </li>
                                    <li class="insidePart">
                                        <input type="hidden" value="" id="parkId" class="parkId"/>
                                        <label><span class="t-tip-verification">*</span>用户名</label>
                                        <div><input type="text" name="userName" id="userName"/></div>
                                        <input type="hidden" id="oldUserName"/>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div></div>
                                    </li>
                                    <li class="verify outsidePart">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="companyIdTip"></div>
                                        </div>
                                    </li>
                                    <li class="verify insidePart">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="userNameTip"></div>
                                        </div>
                                    </li>

                                    <li class="insidePart">
                                        <!-- 必填项为label追加样式: necessary -->
                                        <label class="necessary">员工编号</label>
                                        <div>
                                            <input type="text" name="emloyeeNo" id="emloyeeNo"/>
                                        </div>
                                        <input type="hidden" id="oldEmloyeeNo"/>
                                    </li>
                                    <li class="insidePart">
                                        <label id="depart"><span class="t-tip-verification">*</span>部门</label>
                                        <div style="position: relative;">
                                            <input type="text" id="deptText" name="deptText" readonly/>
                                            <input type="hidden" name="deptId" id="deptId"/>
                                        </div>
                                    </li>
                                    <li class="verify insidePart">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="emloyeeNoTip"></div>
                                        </div>
                                    </li>
                                    <li class="verify insidePart">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="deptTextTip"></div>
                                        </div>
                                    </li>

                                    <li class="insidePart"><!-- 必填项为label追加样式: necessary -->
                                        <label class="necessary">合同类型</label>
                                        <div>
                                            <select id="contractType" name="contractType">
                                                <option value="" selected>--请选择--</option>
                                            </select>
                                        </div>
                                    </li>
                                    <li>
                                        <input type="hidden" name="" value="-1">
                                    </li>

                                    <li class="verify insidePart">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="contractTypeTip"></div>
                                        </div>
                                    </li>

                                    <li>

                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="accessCardNoTip"></div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <!--选项卡-->
                        <div class="t-tabs">
                            <ul class="userInfo-tab t-tabs-items">
                                <li class="active"><a href="#userInfoTab1" class="isSelect" data-toggle="tab">角色信息</a>
                                </li>
                                <li><a href="#userInfoTab2" class="isSelect" data-toggle="tab">门禁权限</a></li>
                                <li><a href="#userInfoTab3" class="isSelect" data-toggle="tab">视频权限</a></li>
                            </ul>

                            <div class="userInfo-tab-content tab-content">
                                <!--角色信息-->
                                <div class="tab-pane fade active in" id="userInfoTab1">
                                    <div class="person-setting">
                                        <div class="txt-aln-l access role-list"></div>
                                        <input type="hidden" id="hidRole" value=""/>
                                        <div class="tipArea">
                                            <div id="hidRoleTip" style="text-align: left"></div>
                                        </div>
                                    </div>
                                </div>

                                <!--门禁权限-->
                                <div class="tab-pane fade" id="userInfoTab2">
                                    <div class="person-setting">
                                        <div class="txt-aln-l access access-list">
                                        </div>
                                    </div>
                                </div>

                                <!--视频权限-->
                                <div class="tab-pane fade" id="userInfoTab3">
                                    <div class="person-setting tabSmall">
                                        <div class="txt-aln-l access">
                                            <div class="t-tabs t-tabs-small">
                                                <ul class="userInfo-tab t-tabs-items">
                                                    <li class="active"><a href="#userInfoTabOld3" class="isSelect"
                                                                          data-toggle="tab">老园区</a></li>
                                                    <li><a href="#userInfoTabNew3" class="isSelect" data-toggle="tab">新园区</a>
                                                    </li>
                                                </ul>
                                                <div class="userInfo-tab-content tab-content">
                                                    <!--老园区-->
                                                    <div class="tab-pane fade active in"
                                                         id="userInfoTabOld3">
                                                        <div class="person-setting">
                                                            <div class="txt-aln-l videolist videolistTab videolistSingle videolistOld"
                                                                 id="addVideoListOld"></div>
                                                            <input type="hidden" id="hidVideoNamesOld"/>
                                                        </div>
                                                    </div>
                                                    <!--新园区-->
                                                    <div class="tab-pane fade" id="userInfoTabNew3">
                                                        <div class="person-setting">
                                                            <div class="txt-aln-l videolist videolistTab videolistSingle videolistNew"
                                                                 id="addVideoListNew"></div>
                                                            <input type="hidden" id="hidVideoNamesNew"/>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <input type="hidden" id="hiddend" value=""/>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="btn_saveUser">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="menuContent" class="menuContent"
     style="display:none; position: absolute;z-index: 9999;border: 1px solid #617775;">
    <ul id="treeOrgModal" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
</div>

<!--提示模态框-->
<div style="z-index: 9999" class="modal fade bs-example-modal-sm" id="myTip" tabindex="-1" role="dialog"
     aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-body" style="text-align:center;font-size:14px;">
                <i id="icon-tip" style="margin-right:6px;"></i>
                <span class="tip-info"></span>
            </div>
        </div>
    </div>
</div>

<!--确认模态框 一卡通挂失 退卡-->
<div class="modal fade bs-example-modal-sm" id="modalCard" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">一卡通挂失</h4>
            </div>
            <div class="modal-body">
                <div class="t-list">
                    <form id="frmMainCard">
                        <!--<div class="if mb-5">是否办理一卡通挂失?</div>-->
                        <div class="content">
                            <div class="isModifyCard">选择操作：<p><input id="chkModifyCard" type="checkbox" value="1"
                                                                     style="vertical-align: sub;"/><label
                                    style="font-weight: normal;font-size: 14px;" for="chkModifyCard">换卡</label></p>
                            </div>
                            <div class="name">姓名：<p></p></div>
                            <div class="cardNo">卡号：<p></p></div>
                            <div class="phone">手机：<p></p></div>
                            <div class="FWalletMoney">充值余额：<p></p>元</div>
                            <div class="FSubMoney">福利余额：<p></p>元</div>
                            <div class="newCardNo" style="display:none;">
                                新卡号：<p><input class="" id="newCard" name="newCard" value=""/></p>
                            </div>
                            <div class="newCardNo" style="display:none;height: 24px;margin-left: 48px;">
                                <div class="tipArea">
                                    <div id="newCardTip" style="display: none;"></div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnConfirmCard">确定</button>
                <button type="button" class="btn btn-primary hide" id="btnWithdram">支取</button>
            </div>
        </div>
    </div>
</div>

<!--提示模态框-->
<div style="z-index: 9999" class="modal fade bs-example-modal-sm" id="modalLoading" tabindex="-1" role="dialog"
     aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-body" style="text-align:center;font-size:14px;">
                <img src='/cwp/src/assets/img/loading/cmcc_loading.gif' style='height:16px;display:inline;' alt=''/>
                <span class="tip-info">正在支取，请稍等...</span>
            </div>
        </div>
    </div>
</div>

<!--新增部门-->
<div class="modal fade bs-example-modal-lg in" id="modalAddDept" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title" id="modalAddDeptTitle">新增部门</h4>
            </div>
            <form id="frmMainDept">
                <div class="modal-body">
                    <div class="t-list">
                        <div class="person-setting first">
                            <div class="t-columns-1">
                                <ul class="t-columns-group">
                                    <li>
                                        <input id="hidModalDeptId" name="deptId" type="hidden" value=""/>
                                        <input id="hidDeptPId" name="parentId" type="hidden" value=""/>
                                        <label><span class="t-tip-verification">*</span>部门名称</label>
                                        <div><input type="text" id="deptName" name="deptName" value="总经办"
                                                    placeholder="请输入部门名称"/></div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="deptNameTip"></div>
                                        </div>
                                    </li>
                                    <li>
                                        <label class="necessary">部门类型</label>
                                        <div>
                                            <select id="type" name="type">
                                                <option value="" selected>--请选择--</option>
                                                <option value="1013001">公司</option>
                                                <option value="1013002">部门</option>
                                                <option value="1013003">科室</option>
                                                <option value="1013004">话务班组</option>
                                                <option value="1013005">行政班组</option>
                                            </select>
                                        </div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="typeTip"></div>
                                        </div>
                                    </li>
                                    <li>
                                        <label class="necessary">部门级别</label>
                                        <div>
                                            <select id="orderNum" name="orderNum">
                                                <option value="" selected>--请选择--</option>
                                                <option value="1">1</option>
                                                <option value="2">2</option>
                                                <option value="3">3</option>
                                                <option value="4">4</option>
                                                <option value="5">5</option>
                                                <option value="6">6</option>
                                                <option value="7">7</option>
                                                <option value="8">8</option>
                                                <option value="9">9</option>
                                            </select>
                                        </div>
                                    </li>
                                    <li class="verify">
                                        <label></label>
                                        <div class="tipArea">
                                            <div id="orderNumTip"></div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <input type="hidden" id="" value="">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="btnSaveDept">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--删除部门模态框-->
<div class="modal fade bs-example-modal-sm" id="modalDelDept" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">是否删除部门?</h4>
            </div>
            <div class="modal-body">
                <div class="t-list">
                    <div id="delDeptName" class="title" style="font-weight: bold;">
                    </div>
                    <div class="content mt-10" style="line-height: 24px">
                        删除部门前，请先删除下属所有部门并且删除或转移部门内部人员！
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnDeleteDept">确定</button>
            </div>
        </div>
    </div>
</div>

<!--批量修改部门-->
<div class="modal fade bs-example-modal-sm in" id="modalBatDept" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title">选择部门</h4>
            </div>
            <form id="frmMainDeptbat">
                <div class="modal-body">
                    <ul class="ztree" id="treeDeptBat" style="text-align: center;">

                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" id="btnConfirmDept">确定</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--冻结 弹出框-->
<div class="modal fade bs-example-modal-sm in" id="modalFreeze" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title">关联权限管理</h4>
            </div>
            <div class="modal-body" style="position: relative;">
                <input type="hidden" id="hidUserId" value="">
                <input type="hidden" id="hideCarNo" value="">
                <input type="hidden" id="hideUid" value="">
                <input type="hidden" id="hideUserName" value="">
                <input type="hidden" id="hideTrueName" value="">
                <p id="noneChecked" style="display:none" class="onError">请选择需要冻结的项目</p>
                <div class="person-setting">
                    <div class="txt-aln-l" id="freeze-item">
                        <a class="t-tag-category selected" data-id="0"><p class="frozen">冻结/解冻账号</p></a>
                        <a class="t-tag-category selected" data-id="1"><p class="jurisdiction">清空门禁权限</p></a>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnConfirmFreeze">确定</button>
            </div>
        </div>
    </div>
</div>

<!--批量修改门禁权限-->
<div class="modal fade bs-example-modal-sm in" id="editGuard" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title">门禁权限修改</h4>
            </div>
            <div class="modal-body">
                <div class="person-setting">
                    <div class="txt-aln-l access access-list">
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnEditGuard">确定</button>
            </div>
            <form id="editGuardList" style="display: none">
                <input type="hidden" name="userArrayIds" id="userArrayIds">
                <input type="hidden" name="cardNos" id="cardNos">
                <input type="hidden" name="employeeNos" id="employeeNos">
                <input type="hidden" name="truenames" id="truenames">
                <input type="hidden" name="groupNames" id="groupNames">
            </form>
        </div>
    </div>
</div>

<!--批量修改门禁权限-->
<div class="modal fade bs-example-modal-sm in" id="editGroup" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title">视频权限修改</h4>
            </div>
            <div class="modal-body">
                <div class="person-setting tabSmall">
                    <div class="txt-aln-l accessList" id="GroupList">
                        <div class="t-tabs t-tabs-small">
                            <ul class="nav nav-tabs" role="tablist">
                                <li class="active"><a href="#userInfoTabOldBatch" class="isSelect" data-toggle="tab">老园区</a></li>
                                <li><a href="#userInfoTabNewBatch" class="isSelect" data-toggle="tab">新园区</a></li>
                            </ul>
                            <div class="userInfo-tab-content tab-content">
                                <!--老园区-->
                                <div class="tab-pane fade active in" id="userInfoTabOldBatch">
                                    <div class="person-setting access">
                                        <div class="txt-aln-l videolist videolistTab videolistBatch videolistOld"
                                             id="addVideoListOldBatch"></div>
                                        <input type="hidden" id="hidVideoNamesOldBatch"/>
                                    </div>
                                </div>
                                <!--新园区-->
                                <div class="tab-pane fade " id="userInfoTabNewBatch">
                                    <div class="person-setting access">
                                        <div class="txt-aln-l videolist videolistTab videolistBatch videolistNew"
                                             id="addVideoListNewBatch"></div>
                                        <input type="hidden" id="hidVideoNamesNewBatch"/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="tipArea">
                        <div id="hidAccessTip3" style="text-align: left" class=""></div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" id="btnEditGroup">确定</button>
            </div>
            <form id="editGroupList" style="display: none">
                <input type="hidden" name="parkUserId" id="parkUserIdBatch">
                <input type="hidden" name="idStr" id="idStrBatch">
            </form>
        </div>
    </div>
</div>
<!-- 角色列表 -->
<script type="text/html" id="roleTmpl">
    {{each}}
    <a class="t-tag-category" data-id="{{$value.roleId}}" id="roleList{{$value.roleId}}"><p>{{$value.roleName}}</p></a>
    {{/each}}
</script>
<!-- 门禁权限列表 -->
<script type="text/html" id="accessTmpl">
    {{each}}
    <a class="t-tag-category" data-id="{{$value.sysIdAndGrouId}}" id="accessId{{$value.id}}"><p>{{$value.accessGroupName}}</p></a>
    {{/each}}
</script>

<!-- 视频分组 -->
<script type="text/html" id="videoListTmpl">
    {{each}}
    <a class="t-tag-category" data-id="{{$value.id}}" id="videoList{{$value.id}}"><p>{{$value.videoGroupName}}</p></a>
    {{/each}}
</script>
<!--视频分组批量-->
<script type="text/html" id="videoListBatchTmpl">
    {{each}}
    <a class="t-tag-category" data-id="{{$value.id}}" id="videoListBatch{{$value.id}}"><p>{{$value.videoGroupName}}</p>
    </a>
    {{/each}}
</script>

<!--jQuery库脚本-->
<!--非IE8浏览器-->
<!--[if !(IE 8)]><!-->
<script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script><!--<![endif]-->
<!--IE8浏览器-->
<!--[if IE 8]>
<script type="text/javascript" src="../../../assets/lib/jquery/jquery-ie8.min.js"></script><![endif]-->
<script type="text/javascript" src="../../../assets/lib/jQuery-slimScroll-1.3.8/jquery.slimscroll.min.js"></script>
<!--加载头部 导航 版权-->
<script charset="utf-8" src="../../../assets/common/loadHeaderAndCopyright.js"></script>
<!--模态框-->
<!--表单验证-->
<script charset="utf-8" src="../../../assets/lib/formValidator/formValidator.js"></script>
<script charset="utf-8" src="../../../assets/lib/formValidator/formValidatorRegex.js"></script>
<!--加密-->
<script type="text/javascript" src="../../../assets/lib/CryptoJS/rollups/aes.js"></script>
<script charset="utf-8" src="../../../assets/lib/CryptoJS/components/mode-ecb.js"></script>
<script charset="utf-8" src="../../../assets/lib/CryptoJS/components/tripledes-min.js"></script>
<!--模态框-->
<script charset="utf-8" src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
<!--模态提示框-->
<script charset="utf-8" src="../../../assets/common/centerModal.js"></script>
<script charset="utf-8" src="../../../assets/lib/tipModal/js/tipModal.js"></script>
<!--分页脚本-->
<script charset="utf-8" src="../../../assets/lib/pagination/1.2.1/jquery.pagination.js"></script>
<!--数据交互公用脚本-->
<script charset="utf-8" src="../../../assets/common/ajaxPoster.js"></script>
<script charset="utf-8" src="../../../assets/common/loaderTable.js"></script>
<script charset="utf-8" src="../../../assets/lib/artTemplate/template.js"></script>
<script charset="utf-8" src="../../../js/systemManagement/userManagement/userManagemet.js"></script>
<!--用户修改脚本-->
<script charset="utf-8" src="../../../js/systemManagement/userManagement/userEditModal.js"></script>
<!--树形节点-->
<script charset="utf-8" src="../../../assets/lib/zTree/js/jquery.ztree.core.min.js"></script>
<script charset="utf-8" src="../../../assets/lib/zTree/js/jquery.ztree.excheck.min.js"></script>
<script charset="utf-8" src="../../../assets/lib/zTree/js/jquery.ztree.exedit.min.js"></script>

</body>
</html>